.clearfix::after {
    content: "";
    visibility: hidden;
    display: block;
    clear: both;
}

.bordered-box {
    border: 1px solid black;
}